/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vocales;

/**
 *
 * @author miguel
 */
public class xor {
    

public static void main(String[] args) {

    perceptron neurona1 = new perceptron(2);
    perceptron neurona2 = new perceptron(2);
    perceptron neurona3 = new perceptron(2);
    
    neurona1.llenar_xor1();
    neurona2.llenar_xor2();
    
    neurona1.evaluar();
    neurona2.evaluar();
    
    neurona1.imprime_pesos();
    neurona2.imprime_pesos();
    
    neurona3.conecta_neurona(neurona1, neurona2);
    neurona3.evaluar();
    neurona3.imprime_pesos();

    
    
}

}